package com.test.list;
//单链表的节点
public class Node {
     Object e;
    Node next;

    public Node() {
    }

    public Node(Object e) {
        this.e = e;
    }

    public Node(Object e, Node next) {
        this.e = e;
        this.next = next;
    }

    public Object getE() {
        return e;
    }

    public void setE(Object e) {
        this.e = e;
    }

    public Node getNext() {
        return next;
    }

    public void setNext(Node next) {
        this.next = next;
    }
}
